package org.com.ashen.common.exception;

/**
 * Created by yizhenn on 2016/12/4.
 */
public class BaseException extends RuntimeException {
	
	private static final long serialVersionUID = -384144018271322678L;
	
	
	private final ErrorEnum errorEnum;

    protected BaseException(ErrorEnum errorEnum) {
        this.errorEnum = errorEnum;
    }

    public ErrorEnum getErrorEnum() {
        return errorEnum;
    }
}
